<meta charset="UTF-8">
<?php

    require ('lib/init.php');
    $sql ="select * from cat";
    $rs = mQuery($sql);
    $cat = array();
    while($row = mysqli_fetch_assoc($rs)){
        $cat[] = $row;
    }


   require(ROOT . '/view/front/catlist.html');
?>
